# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
# Return a link for use in layout navigation.
def nav_link(text, controller, action="index")
link_to_unless_current text, :controller => controller,
:action => action
end
end